package com.yx.changdao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yx.changdao.common.entity.Department;

import java.util.List;
import java.util.Map;


/**
 * @Description: <br/>
 * 部门表
 * <p>
 * <br/>
 * @Auther: flexible
 * @create 2020/04/02 13:47
 */
public interface DepartmentService extends IService<Department> {

    /**
     *  部门下拉列表， 只暴露 dep_id 和 dep_name
     * @return
     */
    List<Department> departments();

    Department getByDptName(String name);
}
